﻿<Window x:Class="XCase.Controller.Dialogs.OkCancelDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	Title="DialogTitle" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight"
    ResizeMode="NoResize" Icon="/Controller;component/Dialogs/question_mark.png" ShowInTaskbar="False" Topmost="True">
	<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
		<StackPanel Margin="10" Name="stackPanel1">
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="40" />
					<ColumnDefinition Width="Auto" />
				</Grid.ColumnDefinitions>
				<Image Name="image1" Stretch="Fill"  Height="40" HorizontalAlignment="Left" VerticalAlignment="Top" Width="40" Source="question_mark.png" />
				<TextBlock Name="label1" Text="Title" Margin="5" FontWeight="bold" Grid.Column="1"/>
			</Grid>
			<TextBlock Name="label2" Text="Message" Width="auto" Margin="10,10,0,0"/>
			<StackPanel Orientation="Horizontal" Name="canvas1" HorizontalAlignment="Center" Margin="5,10,0,5">
				<Button Height="23" Name="bOK" Width="60" Margin="0,0,5,0" IsDefault="True" Click="bOK_Click">OK</Button>
				<Button Height="23" Width="60" Name="bCancel" IsCancel="True" Click="bCancel_Click">Cancel</Button>
			</StackPanel>
		</StackPanel>
	</ScrollViewer>
</Window>
